package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 卡密表
 * </p>
 *
 * @author Reagan
 * @since 2020-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("business_card_voucher")
public class CardVoucherEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("id")
    private String id;

    /**
     * 商品ID
     */
    @TableField("goods_no")
    private String goodsNo;

    /**
     * 供应商ID卡密提供商
     */
    @TableField("provider_id")
    private String providerId;

    /**
     * 供应商编号
     */
    @TableField("provider_no")
    private String providerNo;

    /**
     * 供应商序列号
     */
    @TableField("provider_serial_number")
    private String providerSerialNumber;

    /**
     * 卡的凭证号
     */
    @TableField("voucher_no")
    private String voucherNo;

    /**
     * 商品面额
     */
    @TableField("denomination")
    private Long denomination;

    /**
     * 卡的密码
     */
    @TableField("voucher_password")
    private String voucherPassword;

    /**
     * 1.接口导入 2.本地导入
     */
    @TableField("create_mothod")
    private Integer createMothod;

    @TableField("create_date")
    private Date createDate;

    @TableField("modifi_date")
    private Date modifiDate;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    /**
     * -1.无效卡 0.已核销 1.有效      
     */
    @TableField("status")
    private Integer status;

    /**
     * -1 删除 1 有效
     */
    @TableField("is_delete")
    private Integer isDelete;


}
